<template>
  <div id="app">
    <nav>
      <router-link to="/hom" active-class="on">Home</router-link>
      <router-link to="/about" active-class="on">About</router-link>
    </nav>
    <div style="border:30px solid #f00;">
      <router-view/>
    </div>
  </div>
</template>

<script>

export default {
  name: 'App',
  components: {
  }
}
</script>

<style>
.on{
  color:red;
}
</style>
